if oop and type(oop)=='table' then
	return oop
end

local oop = {
	class = require('oop.class'),
	_packages = {},
}
local package = require('oop.package')
package.setPackageEnv(oop._packages)
oop.package = package.packageFunc
local meta = {
	__index = function(t, key)
		if key == "package" or key == "class" then
			return t[key]
		else
			return t._packages[key]
		end
	end
}
setmetatable(oop, meta)

return oop
